package org.dynobjects.core.xml;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class View implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1661828068833528714L;

	private Collection fields = new ArrayList();
	private String name ;
	
	private Map servicesData = new HashMap();

	public Map getServicesData() {
		return servicesData;
	}

	public void setServicesData(Map servicesData) {
		this.servicesData = servicesData;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Collection getFields() {
		return fields;
	}

	public void setFields(Collection fields) {
		this.fields = fields;
	}

	public void addFields(FormField formField) {
		fields.add(formField);
	}

	
}
